package com.catchman;

import com.spring4all.swagger.EnableSwagger2Doc;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @author CatchMan
 */
@SpringBootApplication
@EnableSwagger2Doc  //启用swagger2文档功能
@EnableEncryptableProperties  //启用jasypt加密属性文件
@EnableCaching   //启用缓存
@EnableConfigurationProperties
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
